package teamGiga.bean;

public class ShoppingBean {
/*	private int mbno;
	private String mname;
	private String fileimg;
	private int price;
	private String id;
*/	
	/*CREATE TABLE SHOPPINGBAG(
	MBNO NUMBER(10) CONSTRAINT SHOWPINGBACK_MBNO_FK REFERENCES MEMBERS(MBNO),
	MNO NUMBER(5) CONSTRAINT SHOWPINGBACK_MNO_FK REFERENCES MOVIES(MNO),
	MNAME VARCHAR2(30) CONSTRAINT SHOWPINGBACK_MNAME_NN NOT NULL,
	PAY NUMBER(10) CONSTRAINT SHOWPINGBACK_PAY_NN NOT NULL,
	VALIDDATE DATE,
	SAVEPOINT  NUMBER(10) CONSTRAINT SHOWPINGBACK_SAVEPOINT_NN NOT NULL,
	MBNAME VARCHAR2(20) CONSTRAINT SHOWPINGBACK_MBNAME_NN NOT NULL
	);
*/	
	private int mbno;
	private int mno;
	private String mname;
	private int pay;
	private String validdate;
	private int savepoint;	
	private String mbname;
	private String fileimg;
	public String getFileimg() {
		return fileimg;
	}
	public void setFileimg(String fileimg) {
		this.fileimg = fileimg;
	}

	public int getMbno() {
		return mbno;
	}
	public void setMbno(int mbno) {
		this.mbno = mbno;
	}
	public int getMno() {
		return mno;
	}
	public void setMno(int mno) {
		this.mno = mno;
	}
	public String getMname() {
		return mname;
	}
	public void setMname(String mname) {
		this.mname = mname;
	}
	public int getPay() {
		return pay;
	}
	public void setPay(int pay) {
		this.pay = pay;
	}
	public String getValiddate() {
		return validdate;
	}
	public void setValiddate(String validdate) {
		this.validdate = validdate;
	}
	
	public int getSavepoint() {
		return savepoint;
	}
	public ShoppingBean(int mbno, int mno, String mname, int pay,
			String mbname, String fileimg) {
		super();
		this.mbno = mbno;
		this.mno = mno;
		this.mname = mname;
		this.pay = pay;
		this.mbname = mbname;
		this.fileimg = fileimg;
	}
	public void setSavepoint(int savepoint) {
		this.savepoint = savepoint;
	}
	public String getMbname() {
		return mbname;
	}
	public void setMbname(String mbname) {
		this.mbname = mbname;
	}
	
	
	
	public ShoppingBean(int mbno, int mno, String mname, int pay,
			String validdate, int savepoint, String mbname, String fileimg) {
		super();
		this.mbno = mbno;
		this.mno = mno;
		this.mname = mname;
		this.pay = pay;
		this.validdate = validdate;
		this.savepoint = savepoint;
		this.mbname = mbname;
		this.fileimg = fileimg;
	}
	
	@Override
	public String toString() {
		return "ShoppingBean [mbno=" + mbno + ", mno=" + mno + ", mname="
				+ mname + ", pay=" + pay + ", validdate=" + validdate
				+ ", savepoint=" + savepoint + ", mbname=" + mbname
				+ ", fileimg=" + fileimg + "]";
	}
	public ShoppingBean() {
		super();
	}	
	
}
